﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Threading.Tasks;
using Client.Library;
using Client.Library.Helpers;
using MySQL.Data;
using SQLServer.Data;
using System.Data;
using SQLServer.Data.libs;
using SQLite.Data;

namespace Client
{
    class Program
    {
        static void Main()
        {
            //Task 1
            //DataImport.ImportMySQLDb();

            /* var collection = GetData.GetSalesFromZipFile("../../21-Jul-2013.zip");

            //foreach (var item in collection)
            //{
            //    Console.WriteLine(item.OrderDate + " " + item.ProductID + " " + item.Quantity + " " + item.SupermarketID);
            //}

            //DataImport.PushSalesToServer(collection);*/

            // Task 2 - PDF
            //DataExport.GeneratePdf();

            // Task 3 - Sales xml report
            DataExport.ExportSalesReportXml();

            // Task 4 - 
            //DataExport.ExportProductReportJSON();

            // Task 5 - 
            //DataImport.ImportExpenses();

            // Task 6
            DataImport.ImportMongoDbProductReports();
           
        }
    }
}
